{extend name="public/base"}

{block name="style"}
{css href="/static/wechat/css/wallet.css" /}
{/block}

{block name="body"}
<div class="pageControl wallet">
    <div class="msui_nav msui_navTop">
        <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
        <h1 class="msui_navTop-title">合伙人钱包</h1>
    </div>
    <div class="weui-top">
        <div class="weui-panel weui-panel_access msui_cell">
            <div class="weui-panel__bd">
                <div class="weui-media-box__bd">
                    <h4 class="weui-media-box__title cl-3333 fs085">我的余额</h4>
                    <p class="weui-media-box__desc cl-orange fs12">{$data.money}</p>
                </div>
            </div>
        </div>
        <div class="msui_cell operation">
            <a href="{:url('recharge')}" class="weui-flex__item msui_cell">
                <i class="micon-wallet_in"></i>
                <span class="fs08 cl-9999">充值</span>
            </a>
            <a href="{:url('withdraw')}" class="weui-flex__item msui_cell">
                <i class="micon-wallet_out"></i>
                <span class="fs08 cl-9999">提现</span>
            </a>
        </div>
        <div class="weui-cells">
            <a class="weui-cell weui-cell_access" href="{:url('detail')}">
                <div class="weui-cell__hd"><img src="/static/wechat/images/wallet_details.png"></div>
                <div class="weui-cell__bd">
                    <p class="fs08 cl-3333">交易明细</p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
            <a class="weui-cell weui-cell_access" href="{:url('banks')}">
                <div class="weui-cell__hd"><img src="/static/wechat/images/payPhoto4.png"></div>
                <div class="weui-cell__bd">
                    <p class="fs08 cl-3333">银行卡</p>
                </div>
                {gt name="data.bank_num" value="0"}
                <div class="weui-cell__ft">{$data.bank_num}</div>
                {else /}
                <div class="weui-cell__ft">未添加</div>
                {/gt}
            </a>
        </div>
    </div>

</div>
{/block}